package com.tantou.java.structandalgorithm.tree;

import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class BTNode {

    int value;
    BTNode left;
    BTNode right;

    public BTNode() {
    }

    public BTNode(int value) {
        this.value = value;
    }

    public BTNode(int value, BTNode left, BTNode right) {
        this.value = value;
        this.left = left;
        this.right = right;
    }
}


